function popUpMessageShow(message, timeout = 1500) {
    let pum = document.getElementById('pop-up-message');
    let pumc = document.getElementById('pop-up-message-content');
    let text = document.getElementById('pop-up-message-content-text');
    if (pum.classList.contains('show')) {
        return;
    }
    pum.classList.add('show');
    pumc.classList.add('show');
    text.innerText = message;
    setTimeout(() => {
        popUpMessageHide(pum, pumc);
    }, timeout);
}

function popUpMessageHide(pum, pumc) {
    pum.classList.remove('show');
    pumc.classList.remove('show');
}